package com.zygh.dlqwservice.module.entity.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.zygh.dlqwservice.module.entity.Meun;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 登录返回DTO
 */
@Data
public class LoginDetailVO {

    @ApiModelProperty("警员id")
    @TableId(value = "user_id", type = IdType.AUTO)
    private Integer userId;

    @ApiModelProperty("警员名字")
    private String name;

    @ApiModelProperty("警号")
    private String warningsignal;

    @ApiModelProperty("部门id")
    private String deptId;

    @ApiModelProperty("部门名称")
    private String departmentName;

    @ApiModelProperty("用户名")
    private String username;

    @ApiModelProperty("警务通号")
    private String idcard;

    @ApiModelProperty(value = "头像", example = "1")
    private Integer avatarId;

    @ApiModelProperty("手机号")
    private String phone;

    @ApiModelProperty("职务")
    private String dutyId;

    @ApiModelProperty("警员类型")
    private String type;

    @ApiModelProperty("身份证(可选)")
    private String idcardno;

    @ApiModelProperty("是否删除")
    private Byte isDelete;

    @ApiModelProperty("性别")
    private String sex;

    @ApiModelProperty("登陆token")
    private String xAccessToken;

    @ApiModelProperty("是否为超管")
    private Boolean isSuperMan;

    @ApiModelProperty("权限列表")
        private List<Meun> meunList;

}
